<?php

while (getAResult($variable) == "NetBeans") echo printPeople($variable);
?>